﻿@* https://github.com/MudBlazor/MudBlazor/issues/9544 *@

<MudButton id="element-button"
           Variant="@Variant.Filled"
           Color="@Color.Primary"
           OnClick="@ButtonOnClick"
           tabindex="@_tabindex">
    Error
</MudButton>

@code {
    private string? _tabindex = "-1";

    private void ButtonOnClick()
    {
        _tabindex = null;
    }
}
